package com.motus.pm.vo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

import org.apache.struts2.json.annotations.JSON;

/**
 * PmDeptTask entity. @author MyEclipse Persistence Tools
 */

public class PmDeptTask implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Integer deptTaskId;
	private MotusDept motusDept;
	private PmMeetingInfo pmMeetingInfo;
	private String deptTaskName;
	private Timestamp deptTaskPlanStartTime;
	private Timestamp deptTaskPlanEndTime;
	private Timestamp deptTaskRealStartTime;
	private Timestamp deptTaskRealEndTime;
	private Integer deptTaskPoint;
	private Integer deptTaskRealPoint;
	private Integer deptTaskState;
	private String deptTaskContent;
	private String reserve1;
	private String reserve2;
	private Set pmMeetingTasks = new HashSet(0);

	// Constructors

	/** default constructor */
	public PmDeptTask() {
	}

	/** full constructor */
	public PmDeptTask(MotusDept motusDept, PmMeetingInfo pmMeetingInfo,
			String deptTaskName, Timestamp deptTaskPlanStartTime,
			Timestamp deptTaskPlanEndTime, Timestamp deptTaskRealStartTime,
			Timestamp deptTaskRealEndTime, Integer deptTaskPoint,
			Integer deptTaskRealPoint, Integer deptTaskState,
			String deptTaskContent, String reserve1, String reserve2,
			Set pmMeetingTasks) {
		this.motusDept = motusDept;
		this.pmMeetingInfo = pmMeetingInfo;
		this.deptTaskName = deptTaskName;
		this.deptTaskPlanStartTime = deptTaskPlanStartTime;
		this.deptTaskPlanEndTime = deptTaskPlanEndTime;
		this.deptTaskRealStartTime = deptTaskRealStartTime;
		this.deptTaskRealEndTime = deptTaskRealEndTime;
		this.deptTaskPoint = deptTaskPoint;
		this.deptTaskRealPoint = deptTaskRealPoint;
		this.deptTaskState = deptTaskState;
		this.deptTaskContent = deptTaskContent;
		this.reserve1 = reserve1;
		this.reserve2 = reserve2;
		this.pmMeetingTasks = pmMeetingTasks;
	}

	// Property accessors

	public Integer getDeptTaskId() {
		return this.deptTaskId;
	}

	public void setDeptTaskId(Integer deptTaskId) {
		this.deptTaskId = deptTaskId;
	}

	public MotusDept getMotusDept() {
		return this.motusDept;
	}

	public void setMotusDept(MotusDept motusDept) {
		this.motusDept = motusDept;
	}

	public PmMeetingInfo getPmMeetingInfo() {
		return this.pmMeetingInfo;
	}

	public void setPmMeetingInfo(PmMeetingInfo pmMeetingInfo) {
		this.pmMeetingInfo = pmMeetingInfo;
	}

	public String getDeptTaskName() {
		return this.deptTaskName;
	}

	public void setDeptTaskName(String deptTaskName) {
		this.deptTaskName = deptTaskName;
	}

	public Timestamp getDeptTaskPlanStartTime() {
		return this.deptTaskPlanStartTime;
	}

	public void setDeptTaskPlanStartTime(Timestamp deptTaskPlanStartTime) {
		this.deptTaskPlanStartTime = deptTaskPlanStartTime;
	}

	public Timestamp getDeptTaskPlanEndTime() {
		return this.deptTaskPlanEndTime;
	}

	public void setDeptTaskPlanEndTime(Timestamp deptTaskPlanEndTime) {
		this.deptTaskPlanEndTime = deptTaskPlanEndTime;
	}

	public Timestamp getDeptTaskRealStartTime() {
		return this.deptTaskRealStartTime;
	}

	public void setDeptTaskRealStartTime(Timestamp deptTaskRealStartTime) {
		this.deptTaskRealStartTime = deptTaskRealStartTime;
	}

	public Timestamp getDeptTaskRealEndTime() {
		return this.deptTaskRealEndTime;
	}

	public void setDeptTaskRealEndTime(Timestamp deptTaskRealEndTime) {
		this.deptTaskRealEndTime = deptTaskRealEndTime;
	}

	public Integer getDeptTaskPoint() {
		return this.deptTaskPoint;
	}

	public void setDeptTaskPoint(Integer deptTaskPoint) {
		this.deptTaskPoint = deptTaskPoint;
	}

	public Integer getDeptTaskRealPoint() {
		return this.deptTaskRealPoint;
	}

	public void setDeptTaskRealPoint(Integer deptTaskRealPoint) {
		this.deptTaskRealPoint = deptTaskRealPoint;
	}

	public Integer getDeptTaskState() {
		return this.deptTaskState;
	}

	public void setDeptTaskState(Integer deptTaskState) {
		this.deptTaskState = deptTaskState;
	}

	public String getDeptTaskContent() {
		return this.deptTaskContent;
	}

	public void setDeptTaskContent(String deptTaskContent) {
		this.deptTaskContent = deptTaskContent;
	}

	public String getReserve1() {
		return this.reserve1;
	}

	public void setReserve1(String reserve1) {
		this.reserve1 = reserve1;
	}

	public String getReserve2() {
		return this.reserve2;
	}

	public void setReserve2(String reserve2) {
		this.reserve2 = reserve2;
	}

	@JSON(serialize=false)
	public Set getPmMeetingTasks() {
		return this.pmMeetingTasks;
	}

	public void setPmMeetingTasks(Set pmMeetingTasks) {
		this.pmMeetingTasks = pmMeetingTasks;
	}

}